﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Users;

namespace EcoSystem
{
    /// <summary>
    /// 全局配置数据
    /// </summary>
    public interface IConfigurationAppService : IApplicationService
    {
        /// <summary>
        /// 获取当前登录用户的全局配置数据信息
        /// </summary>
        /// <returns></returns>
        public Task<AppConfigurationDto> GetApplicationConfigurationAsync();

        /// <summary>
        /// 获取字典数据信息
        /// </summary>
        /// <returns></returns>
        public Task<List<DictionaryDto>> GetDictionaryAsync();

        /// <summary>
        /// 获取权限定义数据
        /// </summary>
        /// <returns></returns>
        public Task<List<PermissionDefinitionDto>> GetPermissionDefinitionsAsync();

        /// <summary>
        /// 获取菜单数据
        /// </summary>
        /// <returns></returns>
        public Task<List<SystemMenuDto>> GetMenusAsync();

    }
}
